<?php

include('../../a.php');// 2 dir up
//include('../../a.php');// 2 dir up
//include_once('../../a.php');// 2 dir up
include_once('../../a.php');// 2 dir up

include('3/c.php');// 1 dir down

$b = " bVar ";
echo __FILE__;


echo "\n\n\n";

echo $a,$b,$c;

echo "\n\n\n";

echo testFunction();

echo "\n\n\n";

/*
 * NOTE : if we include same file twice with include function then it will show following error message, if included file contain many function().
 *
 * In that way we can easily understand that include
 * is not better way to include any file.
 *
 * There is also another function named as
 * include_once().. this function check that file
 * which we are trying to include is already
 * included or not.
 *
 * If file if not included before then it will
 * include otherwise it will not included again.
 *
 * Fatal error: Cannot redeclare testFunction() (previously declared in included file)
*
*/
